  /**
   * Generate time : 2016-04-27 9:56:33
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.ck.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCKBL 
 * table comment : 避雷装置检查 
 */
public class ZMCKBL extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdYjsfId = " ";		/* 雨季三防主表ID*/
	private String fdCurrentDate = " ";		/* 当前日期*/
	private String fdFhssProblem = " ";		/* 存在问题*/
	private String fdFhssJcr = " ";		/* 检查人*/
	private String fdFhssTime = " ";		/* 检查时间*/
	private String fdDepartmentId = " ";		/* 责任单位ID*/
	private String fdDepartment = " ";		/* 责任单位*/
	private String fdPeopleId = " ";		/* 责任人ID*/
	private String fdPeopleName = " ";		/* 责任人*/
	private String fdFlzzName = " ";		/* 装置名称*/
	private String fdFlzzXs = " ";		/* 装置型式*/
	private String fdFlzzBhdx = " ";		/* 保护对象*/
	private String fdFlzzAzdd = " ";		/* 安装地点*/
	private String fdFlzzJyrq = " ";		/* 校验日期*/
	private String fdFlzzJddz = " ";		/* 接地电阻*/
	private String fdStatus = " ";		
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdYjsfId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("雨季三防主表ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCurrentDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("当前日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssProblem");
	eiColumn.setFieldLength(200);	
	eiColumn.setDescName("存在问题");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssJcr");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("检查人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("检查时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartmentId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("责任单位ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartment");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("责任单位");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPeopleId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("责任人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPeopleName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("责任人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFlzzName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("装置名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFlzzXs");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("装置型式");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFlzzBhdx");
	eiColumn.setFieldLength(30);	
	eiColumn.setDescName("保护对象");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFlzzAzdd");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("安装地点");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFlzzJyrq");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("校验日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFlzzJddz");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("接地电阻");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdStatus");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZMCKBL() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdYjsfId - 雨季三防主表ID
	 * @return the fdYjsfId
	 */
	public String getFdYjsfId() {
		return this.fdYjsfId;
	}
	
	/**
	 * set the fdYjsfId - 雨季三防主表ID
	 */
	public void setFdYjsfId(String fdYjsfId) {
		this.fdYjsfId = fdYjsfId;
	}
	/**
	 * get the fdCurrentDate - 当前日期
	 * @return the fdCurrentDate
	 */
	public String getFdCurrentDate() {
		return this.fdCurrentDate;
	}
	
	/**
	 * set the fdCurrentDate - 当前日期
	 */
	public void setFdCurrentDate(String fdCurrentDate) {
		this.fdCurrentDate = fdCurrentDate;
	}
	/**
	 * get the fdFhssProblem - 存在问题
	 * @return the fdFhssProblem
	 */
	public String getFdFhssProblem() {
		return this.fdFhssProblem;
	}
	
	/**
	 * set the fdFhssProblem - 存在问题
	 */
	public void setFdFhssProblem(String fdFhssProblem) {
		this.fdFhssProblem = fdFhssProblem;
	}
	/**
	 * get the fdFhssJcr - 检查人
	 * @return the fdFhssJcr
	 */
	public String getFdFhssJcr() {
		return this.fdFhssJcr;
	}
	
	/**
	 * set the fdFhssJcr - 检查人
	 */
	public void setFdFhssJcr(String fdFhssJcr) {
		this.fdFhssJcr = fdFhssJcr;
	}
	/**
	 * get the fdFhssTime - 检查时间
	 * @return the fdFhssTime
	 */
	public String getFdFhssTime() {
		return this.fdFhssTime;
	}
	
	/**
	 * set the fdFhssTime - 检查时间
	 */
	public void setFdFhssTime(String fdFhssTime) {
		this.fdFhssTime = fdFhssTime;
	}
	/**
	 * get the fdDepartmentId - 责任单位ID
	 * @return the fdDepartmentId
	 */
	public String getFdDepartmentId() {
		return this.fdDepartmentId;
	}
	
	/**
	 * set the fdDepartmentId - 责任单位ID
	 */
	public void setFdDepartmentId(String fdDepartmentId) {
		this.fdDepartmentId = fdDepartmentId;
	}
	/**
	 * get the fdDepartment - 责任单位
	 * @return the fdDepartment
	 */
	public String getFdDepartment() {
		return this.fdDepartment;
	}
	
	/**
	 * set the fdDepartment - 责任单位
	 */
	public void setFdDepartment(String fdDepartment) {
		this.fdDepartment = fdDepartment;
	}
	/**
	 * get the fdPeopleId - 责任人ID
	 * @return the fdPeopleId
	 */
	public String getFdPeopleId() {
		return this.fdPeopleId;
	}
	
	/**
	 * set the fdPeopleId - 责任人ID
	 */
	public void setFdPeopleId(String fdPeopleId) {
		this.fdPeopleId = fdPeopleId;
	}
	/**
	 * get the fdPeopleName - 责任人
	 * @return the fdPeopleName
	 */
	public String getFdPeopleName() {
		return this.fdPeopleName;
	}
	
	/**
	 * set the fdPeopleName - 责任人
	 */
	public void setFdPeopleName(String fdPeopleName) {
		this.fdPeopleName = fdPeopleName;
	}
	/**
	 * get the fdFlzzName - 装置名称
	 * @return the fdFlzzName
	 */
	public String getFdFlzzName() {
		return this.fdFlzzName;
	}
	
	/**
	 * set the fdFlzzName - 装置名称
	 */
	public void setFdFlzzName(String fdFlzzName) {
		this.fdFlzzName = fdFlzzName;
	}
	/**
	 * get the fdFlzzXs - 装置型式
	 * @return the fdFlzzXs
	 */
	public String getFdFlzzXs() {
		return this.fdFlzzXs;
	}
	
	/**
	 * set the fdFlzzXs - 装置型式
	 */
	public void setFdFlzzXs(String fdFlzzXs) {
		this.fdFlzzXs = fdFlzzXs;
	}
	/**
	 * get the fdFlzzBhdx - 保护对象
	 * @return the fdFlzzBhdx
	 */
	public String getFdFlzzBhdx() {
		return this.fdFlzzBhdx;
	}
	
	/**
	 * set the fdFlzzBhdx - 保护对象
	 */
	public void setFdFlzzBhdx(String fdFlzzBhdx) {
		this.fdFlzzBhdx = fdFlzzBhdx;
	}
	/**
	 * get the fdFlzzAzdd - 安装地点
	 * @return the fdFlzzAzdd
	 */
	public String getFdFlzzAzdd() {
		return this.fdFlzzAzdd;
	}
	
	/**
	 * set the fdFlzzAzdd - 安装地点
	 */
	public void setFdFlzzAzdd(String fdFlzzAzdd) {
		this.fdFlzzAzdd = fdFlzzAzdd;
	}
	/**
	 * get the fdFlzzJyrq - 校验日期
	 * @return the fdFlzzJyrq
	 */
	public String getFdFlzzJyrq() {
		return this.fdFlzzJyrq;
	}
	
	/**
	 * set the fdFlzzJyrq - 校验日期
	 */
	public void setFdFlzzJyrq(String fdFlzzJyrq) {
		this.fdFlzzJyrq = fdFlzzJyrq;
	}
	/**
	 * get the fdFlzzJddz - 接地电阻
	 * @return the fdFlzzJddz
	 */
	public String getFdFlzzJddz() {
		return this.fdFlzzJddz;
	}
	
	/**
	 * set the fdFlzzJddz - 接地电阻
	 */
	public void setFdFlzzJddz(String fdFlzzJddz) {
		this.fdFlzzJddz = fdFlzzJddz;
	}
	/**
	 * get the fdStatus 
	 * @return the fdStatus
	 */
	public String getFdStatus() {
		return this.fdStatus;
	}
	
	/**
	 * set the fdStatus 
	 */
	public void setFdStatus(String fdStatus) {
		this.fdStatus = fdStatus;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdYjsfId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdYjsfId")), fdYjsfId));
		setFdCurrentDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCurrentDate")), fdCurrentDate));
		setFdFhssProblem(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssProblem")), fdFhssProblem));
		setFdFhssJcr(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssJcr")), fdFhssJcr));
		setFdFhssTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssTime")), fdFhssTime));
		setFdDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartmentId")), fdDepartmentId));
		setFdDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartment")), fdDepartment));
		setFdPeopleId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPeopleId")), fdPeopleId));
		setFdPeopleName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPeopleName")), fdPeopleName));
		setFdFlzzName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFlzzName")), fdFlzzName));
		setFdFlzzXs(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFlzzXs")), fdFlzzXs));
		setFdFlzzBhdx(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFlzzBhdx")), fdFlzzBhdx));
		setFdFlzzAzdd(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFlzzAzdd")), fdFlzzAzdd));
		setFdFlzzJyrq(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFlzzJyrq")), fdFlzzJyrq));
		setFdFlzzJddz(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFlzzJddz")), fdFlzzJddz));
		setFdStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStatus")), fdStatus));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdYjsfId",StringUtils.toString(fdYjsfId, eiMetadata.getMeta("fdYjsfId")));	
			map.put("fdCurrentDate",StringUtils.toString(fdCurrentDate, eiMetadata.getMeta("fdCurrentDate")));	
			map.put("fdFhssProblem",StringUtils.toString(fdFhssProblem, eiMetadata.getMeta("fdFhssProblem")));	
			map.put("fdFhssJcr",StringUtils.toString(fdFhssJcr, eiMetadata.getMeta("fdFhssJcr")));	
			map.put("fdFhssTime",StringUtils.toString(fdFhssTime, eiMetadata.getMeta("fdFhssTime")));	
			map.put("fdDepartmentId",StringUtils.toString(fdDepartmentId, eiMetadata.getMeta("fdDepartmentId")));	
			map.put("fdDepartment",StringUtils.toString(fdDepartment, eiMetadata.getMeta("fdDepartment")));	
			map.put("fdPeopleId",StringUtils.toString(fdPeopleId, eiMetadata.getMeta("fdPeopleId")));	
			map.put("fdPeopleName",StringUtils.toString(fdPeopleName, eiMetadata.getMeta("fdPeopleName")));	
			map.put("fdFlzzName",StringUtils.toString(fdFlzzName, eiMetadata.getMeta("fdFlzzName")));	
			map.put("fdFlzzXs",StringUtils.toString(fdFlzzXs, eiMetadata.getMeta("fdFlzzXs")));	
			map.put("fdFlzzBhdx",StringUtils.toString(fdFlzzBhdx, eiMetadata.getMeta("fdFlzzBhdx")));	
			map.put("fdFlzzAzdd",StringUtils.toString(fdFlzzAzdd, eiMetadata.getMeta("fdFlzzAzdd")));	
			map.put("fdFlzzJyrq",StringUtils.toString(fdFlzzJyrq, eiMetadata.getMeta("fdFlzzJyrq")));	
			map.put("fdFlzzJddz",StringUtils.toString(fdFlzzJddz, eiMetadata.getMeta("fdFlzzJddz")));	
			map.put("fdStatus",StringUtils.toString(fdStatus, eiMetadata.getMeta("fdStatus")));	
			
		return map;
	
	}
}